<?php if ($sidebarStatus=='yes'):?>
<div id="sidebar-nav" class="sidebar-nav">
<?php else:?>
<div id="sidebar-nav" class="sidebar-nav-hide">
<?php endif?>
		<?php foreach($sidebar as $_module):?>
			<?php if(count($_module['menu_list'])> 0):?>
			<a href="#sidebar_menu_<?=$_module['module_id']?>" class="nav-header collapsed" data-toggle="collapse"><i class="<?=$_module['module_icon']?>"></i><?=$_module['module_name']?> <i class="icon-chevron-up"></i></a>
				<?php if($_module['module_id'] == $current_module_id ):?>
					<ul id="sidebar_menu_<?=$_module['module_id']?>" class="nav nav-list collapse in">
				<?php else:?>
					<ul id="sidebar_menu_<?=$_module['module_id']?>" class="nav nav-list collapse">
				<?php endif?>
				
				<?php foreach($_module['menu_list'] as $menu_list):?>
				
				<?php if(strtolower(substr($menu_list['menu_url'],0,7))=='http://'):?>
					<li><a target=_blank href="<?=$menu_list['menu_url']?>"><?=$menu_list['menu_name']?></a></li>
				<?php else:?>
					<li><a href="<?=site_url()?><?=$menu_list['menu_url']?>"><?=$menu_list['menu_name']?></a></li>
				<?php endif?>
				
				<?php endforeach?>
			</ul>
			<?php endif?>
			
		<?php endforeach?>
</div>
	 <!--- 以上为左侧菜单栏 sidebar --->
<?php if($sidebarStatus=='yes' ):?>
<div id="content" class="content">
<?php else:?>
<div id="content" class="content-fullscreen">
<?php endif?>        
        
        
		<ul class="breadcrumb">
            <li><a href="<?=site_url()?><?=$content_header['module_url']?>"> <?=$content_header['module_name']?> </a> <span class="divider">/</span></li>
           
			<?php if($content_header['father_menu']):?>
			<li><a href="<?=site_url()?><?=$content_header['father_menu_url']?>"> <?=$content_header['father_menu_name']?> </a> <span class="divider">/</span></li>
			<?php endif?>
			
			<li class="active"><?=$content_header['menu_name']?></li>
			<?php if($content_header['shortcut_allowed']):?>
				<?php if(in_array($content_header['menu_id'],$user_info['shortcuts_arr'])):?>
					<a title= "移除快捷菜单" href="#"><li class="active"><i class="icon-minus" method="del" url="<?=site_url()?>/os/ajax/shortcut/delete?menu_id=<?=$content_header['menu_id']?>"></i></li></a>
				<?php else:?>
					<a title= "加入快捷菜单" href="#"><li class="active"><i class="icon-plus" method="add" url="<?=site_url()?>/os/ajax/shortcut/add?menu_id=<?=$content_header['menu_id']?>"></i></li></a>
				<?php endif?>
			<?php endif?>
			
        </ul>
<div class="container-fluid">
	<div class="row-fluid">
		<div class="bb-alert alert alert-info" style="display: none;">
			<span>操作成功</span>
		</div>